#include "DrawInterfaceDX10.h"

mVoid CDrawInterfaceDX10::Draw( mUInt a_uVertexCount, mUInt a_uStartVertex )
{
    g_D3DDevice.pD3D10Device->IASetPrimitiveTopology(DX10PrimitiveType(m_Type));
    g_D3DDevice.pD3D10Device->Draw(a_uVertexCount, a_uStartVertex);
}

mVoid CDrawInterfaceDX10::DrawIndexed( mUInt a_uIndexCount, mUInt a_uStartIndex, mUInt a_uVertexCount, mUInt a_uStartVertex )
{
    g_D3DDevice.pD3D10Device->IASetPrimitiveTopology(DX10PrimitiveType(m_Type));
    g_D3DDevice.pD3D10Device->DrawIndexed(a_uIndexCount, a_uStartIndex, a_uStartVertex);
}